import request from '@/utils/request'

export const getUserFollowList = (params) =>
  request.get('/user-follow/page', {
    params
  })

export const followUserApi = (userId) =>
  request.get(`/user-follow/follow/${userId}`)

export const cancelFollowUserApi = (userId) =>
  request.delete(`/user-follow/cancel/${userId}`)

export const isFollowUserApi = (userId) =>
  request.get(`/user-follow/is-follow/${userId}`)
